package com.ruoyi.demo.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.demo.domain.SysUser;
import com.ruoyi.demo.service.SysUserService;
import com.ruoyi.demo.mapper.SysUserMapper;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 *
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser>
    implements SysUserService{

    @Override
    public IPage<SysUser> userList(Page<SysUser> page) {
        return baseMapper.userList(page);
    }

    @Override
    public SysUser shengList() {
        return baseMapper.shengList();
    }

    @Override
    public String updateId(Integer userId) {
        return baseMapper.updateId(userId);
    }
}




